package study01;

public class Java15_OuterClass {
    public static void main(String[] args) {
//        内部类和外部类
        OuterClass o = new OuterClass();
        System.out.println(o.new InnerClass().name);
    }
}

class OuterClass {
    public class InnerClass {
        String name = "zs";
    }
}
